import { FC } from "react";

type inputPropType = {
  type?: string;
  text?: string;
  placeholder?: string;
};

const InputComponent: FC<inputPropType> = (props) => {
  const { type = "text", placeholder = "请输入内容" } = props;
  return <input type={type} placeholder={placeholder} />;
};
export default InputComponent;
